BMECH_DERIV(fld,ch,f) batch process differentiation of given channel(s) with filter options ARGUMENTS fld ... Folder to batch process (string). ch ... Channel(s) to operate on (single string or cell array of strings) filt ... Filter options filt = 0: do not filter (default) filt = 1: filter data using 4th order butterworth low-pass with 10 Hz cutoff filt = struct: filter according to struc fields (see bmech_filter) Notes -Sampling rate will be extracted from zoofile according to channel type (Video or Analog) -Differentiated channel(s) will be appended with suffix '_dot' -To compute nth derivative, run function n times See also deriv_data, deriv_line, gradient, filter_line